<!-- 新增SSH服务器模态框（partial） -->
<div class="modal fade" id="sshAddServerModal" tabindex="-1" aria-labelledby="sshAddServerModalLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header bg-info text-white">
        <h5 class="modal-title" id="sshAddServerModalLabel">
          <i class="fa fa-server mr-2"></i>新增服务器
        </h5>
        <button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="关闭"></button>
      </div>
      <div class="modal-body">
        <form id="sshAddServerForm">
          <div class="mb-3">
            <label for="ssh-add-alias" class="form-label">别名</label>
            <input type="text" class="form-control" id="ssh-add-alias" placeholder="例如：公司测试机" required>
          </div>
          <div class="mb-3">
            <label for="ssh-add-host" class="form-label">主机地址</label>
            <input type="text" class="form-control" id="ssh-add-host" placeholder="例如：192.168.1.10" required>
          </div>
          <div class="mb-3">
            <label for="ssh-add-port" class="form-label">端口</label>
            <input type="number" class="form-control" id="ssh-add-port" value="22" min="1" max="65535" required>
          </div>
          <div class="mb-3">
            <label for="ssh-add-username" class="form-label">用户名</label>
            <input type="text" class="form-control" id="ssh-add-username" placeholder="例如：root" required>
          </div>
          <div class="mb-3">
            <label for="ssh-add-password" class="form-label">密码</label>
            <input type="password" class="form-control" id="ssh-add-password" placeholder="可留空">
          </div>
        </form>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">取消</button>
        <button type="button" class="btn btn-primary" id="ssh-add-server-save">保存</button>
      </div>
    </div>
  </div>
</div>